<section class="title">
	<?php if ($this->controller == 'admin_groups' && $this->method === 'edit'): ?>
	<h4><?php echo sprintf(lang('uploking_country_group_edit_title'), $group->name);?></h4>
	<?php else: ?>
	<h4><?php echo lang('uploking_country_group_create_title');?></h4>
	<?php endif; ?>
</section>

<section class="item">
	<?php echo form_open_multipart(uri_string(), 'class="crud" id="prizes"'); ?>
	<div class="form_inputs">
		<ul>
			<li class="even">
				<label for="name"><?php echo lang('uploking_country_group_name_label');?> <span>*</span></label>
				<div class="input"><?php echo  form_input('name', $group->name); ?></div>
			</li>
			<li class="odd">
				<label for="description"><?php echo lang('uploking_country_group_description_label');?> <span>*</span></label>
				 <?php
				 	echo form_textarea(array('name' => 'description',
				    'id' => 'desc_text',
				    'value' =>  $group->description,
				    'rows' => '3',
				    'cols' => '20')); 
				 ?>
			</li>
		</ul>
	</div>
	<div><?php $this->load->view('admin/partials/buttons', array('buttons' => array('save', 'cancel') )); ?></div>
	<?php echo form_close(); ?>
</section>